package io.renren.modules.minio.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * minio
 *
 * @author 40659
 * @since  2025/1/22 09:11
 */
@Data
@Component
@ConfigurationProperties(prefix = "oss.minio")
public class MinioProperties {

    /**
     * 对象存储服务的ip
     */
    private String prefix;
    /**
     * 对象存储服务地址
     */
    private String endPoint;
    /**
     * accessKey
     */
    private String accessKey;
    /**
     * accessKey secret
     */
    private String secretKey;
    /**
     * 存储桶名称
     */
    private String bucketName;
}
